package com.zbbt.sportslottery.bean;

import com.lidroid.xutils.db.annotation.Table;

@Table(name = "T_NEWS_CHANNEL")
public class ColumnBean {
	private int id;
	/**
	 * 栏目对应ID
	 * */
	private int programaId;
	/**
	 * 栏目对应NAME
	 * */
	private String name;
	/**
	 * 栏目是否为最新 0=old  1=new
	 * */
	private int isnew;
	/**
	 * 栏目所属 columnid=1已添加栏目 columnid=2未添加栏目
	 * */
	private int columnid;

	public ColumnBean() {
	}

	public ColumnBean(int programaId, String name, int isnew, int columnid) {
		super();
		this.programaId = programaId;
		this.name = name;
		this.isnew = isnew;
		this.columnid = columnid;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getProgramaId() {
		return programaId;
	}

	public void setProgramaId(int programaId) {
		this.programaId = programaId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public int getIsnew() {
		return isnew;
	}

	public void setIsnew(int isnew) {
		this.isnew = isnew;
	}

	public int getColumnid() {
		return columnid;
	}

	public void setColumnid(int columnid) {
		this.columnid = columnid;
	}

	@Override
	public String toString() {
		return "ColumnBean [id=" + id + ", programaId=" + programaId + ", name=" + name + ", isnew=" + isnew + ", columnid=" + columnid + "]";
	}

}
